<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		//这是第一个页面a.html
		//通过地址栏传参的方式设置第二个页面b.html的标题为：中文
		var title = "中文";
		var _t = encodeURI(encodeURI(title));
		window.location.href = "b.html?title="+_t;
	</script>
</html>